package com.hightrast.service.api.domain.qo.rastUser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

@Data
@EqualsAndHashCode
@ApiModel(value="重置密码")
public class UpdateForgotPasswordQo {

    @ApiModelProperty(value = "邮箱")
    //@NotEmpty(message = "请输入邮箱")
    private String email;

    @ApiModelProperty(value = "账号")
    @NotEmpty(message = "Please enter your account")
    private String account;

    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "Please input your password")
    private String password;

    @ApiModelProperty(value = "验证码")
    //@NotEmpty(message = "请输入验证码")
    private String validatedCode;
}
